package com.bookstore.service;

import com.bookstore.entity.User;
import com.bookstore.entity.UserMessage;

/**
 * @Author Cofe
 * @Date 2022/4/21 18:17
 */
public interface UserMessageService {
    //查询用户通过用户名
    UserMessage findByUsername(String username);
    //注册成功插入用户信息
    Integer insertuser(String username,String name);
    //更新用户数据
    String updateuser(String username,String name,String address,String gender,int age,String mail,String phone);
}
